home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / OWLINC.PAK / MAILER.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  51 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1995, 1997 by Borland International, All Rights Reserved
  4. //
  5. //$Revision:   10.4  $
  6. //
  7. // Class definition for implementation of Mail enabling.
  8. //----------------------------------------------------------------------------
  9. #if !defined(OWL_MAILER_H)
  10. #define OWL_MAILER_H
  11.  
  12. #if !defined(OWL_MODULE_H)
  13. # include <owl/module.h>
  14. #endif
  15.  
  16. #ifdef UNICODE
  17. # error OWL: The current version of MAILER.H does not support UNICODE
  18. #endif
  19.  
  20. #if defined(BI_NAMESPACE)
  21. namespace OWL {
  22. #endif
  23.  
  24. // Generic definitions/compiler options (eg. alignment) preceeding the 
  25. // definition of classes
  26. #include <services/preclass.h>
  27.  
  28. //
  29. // class TMailer
  30. // ~~~~~ ~~~~~~~
  31. class _OWLCLASS TMailer : public TModule {
  32.   public:
  33.     TMailer();
  34.  
  35.     bool  IsMAPIAvailable() const;
  36.     void  SendDocuments(TWindow* owner, const char far* paths,
  37.                         const char far* names = 0, bool asynchWork = false);
  38.  
  39.     TModuleProc5<uint32,uint32,char far*,char far*,char far*,uint32> MAPISendDocuments;
  40. };
  41.  
  42. // Generic definitions/compiler options (eg. alignment) following the 
  43. // definition of classes
  44. #include <services/posclass.h>
  45.  
  46. #if defined(BI_NAMESPACE)
  47. } // namespace OWL
  48. #endif
  49.  
  50. #endif  // OWL_MAILER_H
  51.